package com.lenovo.mso2o.service;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.lenovo.mso2o.biz.AccountManagerImpl;

/**
 * Created by hejie5 on 2016/4/5.
 */
public class StartUpBootReceiver  extends BroadcastReceiver {

    @Override

    public void onReceive(Context context, Intent intent) {

        if ("android.intent.action.BOOT_COMPLETED".equals(intent.getAction())) {
            if(AccountManagerImpl.instance.isLogin()) {
                AccountManagerImpl.async();
            }
        }
    }

}

